<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>EPGP</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://static.wowhead.com/widgets/power.js"></script>

<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="js/jquery.jatt.min.js"></script>
<script type="text/javascript" src="js/epgp.js"></script>

<!-- Choose from epgp-dark.css, epgp-light.css or make your own -->
<link type="text/css" href="css/epgp-dark.css" rel="stylesheet" >

<!-- demo styling -->
<style type="text/css">
h2, h3 { text-align: center; }
</style>

<script type="text/javascript">
jQuery(document).ready(function($){

 // *** Standings ***
 $('#epgp').epgp({
  epgpfile         : 'epgp.lua',        // epgp.lua file name
  guild            : 'Alea iacta est',         // Guild name (include captial letters and any spaces in the name)
  startEpgpHistory : 7,                 // EPGP Standings History - initial number of days to show prior to snapshot 
  startLootHistory : 7,                 // Loot History - initial number of days to show prior to snapshot 
  addSliders       : true,              // Add slider to adjust the changes in ep/gp (green & red values) or the loot history popup
  maxHistory       : 30,                // Slider max number of days.
  baseGP           : '1',               // Base GP
  minEP            : '0',               // Minimum EP
  decay            : '15',              // Decay
  extras           : '100%',            // Extras - set here because it's not in the lua
  lootIcon         : 'images/plus.gif', // Icon to hover over to see a list of recent loot, styled in the css
  sort             : [3,1]              // sort table by 3rd column (PR column, 0 indexed) in descending order (1).
 }, {
  wowhead          : 'www'               // German wowhead tooltips
 });

 // *** Loot ***
 /* Add missing character class (e.g. outside of guild) or even override a character class, as follows:
     var fix = [];
     fix['Name'] = 'class';
     fix['Another Toon'] = 'class2';

    or use this format:

     var fix = {
      'Name' : 'class',
      'Another Toon' : 'class2'
     };

   'Name' should be the exact name you see in the table (include capitals, special characters & spaces)
   'class' = character class or defined CSS class (so you can add any color) 
 */
 var fix = [];
 fix['Gildenbank'] = 'priest'; // Unknown class
// fix['Noriel'] = 'rogue'; // over-ride Noriel's class

 $('#epgploot').epgp({
  epgpfile         : 'epgp.lua', // epgp.lua file name
  guild            : 'Alea iacta est',  // Guild name (include captial letters and any spaces in the name)
  startLootHistory : 2,          // Loot History - initial number of days to show prior to snapshot
  lootOnly         : true,       // if true, will only display a loot history table
  raidTime         : 4,          // Approximate raid time in hours (substracted from snapshot time to ensure loot drops are included)
  fixClass         : fix         // fix class for toon not in the database (alt in a different guild)
 }, {
  wowhead          : 'de'        // German wowhead tooltips
 });

 /* tooltip script - http://github.com/Mottie/Jatt */
 $.jatt({
  direction: 's',
  live: true
 });

});
</script>
</head><body>
<h2><a href="http://github.com/Mottie/epgp">EPGP</a></h2>

<h3>Epgp Loot</h3>
<div id="epgploot"></div>

<br><hr>
<h3>Epgp Standings</h3>
<div id="epgp"></div>

</body></html>